package cate.common.table.activity.turntable.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.util.random.RWItem;

@EExcelRowClass
public class TurnTableRewardPoolRow extends ERow implements RWItem {
    @EExcelNoteField(fieldName = "配置ID")
    public int configId;
    @EExcelNoteField(fieldName = "抽取权重")
    public int weight;
    @EExcelNoteField(fieldName = "奖励分组")
    public int group;
    @EExcelNoteField(fieldName = "奖励")
    public String reward;
    @EExcelNoteField(fieldName = "刷新权重")
    public int refreshWeight;
    @EExcelNoteField(fieldName = "类型")
    public int type;
    @EExcelNoteField(fieldName = "数量")
    public int num;
    @EExcelNoteField(fieldName = "是否公告", defaultValue = "0")
    public int ifLamp;

    @Override
    public double getWeight() {
        return refreshWeight;
    }
}
